/*
 * VisibleElement.cpp
 *
 *  Created on: 17/11/2012
 *      Author: san
 */

#include "VisibleElement.h"

VisibleElement::VisibleElement(std::string imagePath, double x, double y, int hp, int dmgToPig, int dmgToBox, int dmgToBird) : PhysicsElement(x, y, hp, dmgToPig, dmgToBox, dmgToBird), imagePath(imagePath) {

}

VisibleElement::VisibleElement(const VisibleElement& v): PhysicsElement(v), imagePath(v.imagePath)  {
}

VisibleElement::~VisibleElement() {

}

std::string VisibleElement::getImagePath() {
	return this->imagePath;
}

void VisibleElement::setImagePath(std::string path) {
	this->imagePath.clear();
	this->imagePath += path;
}
